package com.wzapp.sitposture.common.annotation;

import org.springframework.security.access.prepost.PreAuthorize;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 功能: <br/>
 *
 * @author ql
 * @version 0.4
 * @create 2018-09-25 11:04
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@PreAuthorize("hasAuthority('task')")
public @interface Task {
}
